#include "StdAfx.h"
#include "IGraphBase.h"

IGraphBase::IGraphBase(void)
{
	m_pParent = NULL;
	m_pOwner = NULL;
	m_nGraphType = gBase;
}

IGraphBase::~IGraphBase(void)
{
	m_pParent = NULL;
	m_pOwner = NULL;
}

void IGraphBase::SetParent(IGraphBase* pParent)
{
	m_pParent = pParent;
}

IGraphBase* IGraphBase::GetParent()
{
	return m_pParent;
}

void IGraphBase::SetOwner( CWnd* pOwner )
{
	m_pOwner = pOwner;
}

CWnd* IGraphBase::GetOwner()
{
	return m_pOwner;
}

int IGraphBase::GetType()
{
	return m_nGraphType;
}

